package cn.linstudy.qo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description 员工的模糊查询数据封装
 * @Author XiaoLin
 * @Date 2021/3/2 16:10
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class EmployeeQueryObject extends QueryObject{

  private String keyword;
  private Integer deptId;
  /**
   * 注意这里一定要设置成布尔类型，因为前台传0 1，mybatis会将0 1 自动封装成 true or false
   */
  private boolean admin;
}
